﻿using System;

namespace VkontakteSharp.Model
{
    /// <summary>
    /// video – видеозапись
    /// </summary>
    public class Video : Attachment
    {
        [JsonMapping("vid", JsonMapping.MappingType.Primitive)]
        public long Id { get; set; }
        [JsonMapping("owner_id", JsonMapping.MappingType.Primitive)]
        public long OwnerId { get; set; }
        [JsonMapping("title", JsonMapping.MappingType.Primitive)]
        public string Title { get; set; }
        [JsonMapping("description", JsonMapping.MappingType.Primitive)]
        public string Description { get; set; }
        [JsonMapping("duration", JsonMapping.MappingType.Primitive)]
        public int Duration { get; set; }
        [JsonMapping("link", JsonMapping.MappingType.Primitive)]
        public string Link { get; set; }//ex.video-4363_136089719
        [JsonMapping("image", JsonMapping.MappingType.Primitive)]
        public string Image { get; set; }
        [JsonMapping("date", JsonMapping.MappingType.Primitive)]
        public DateTime Date { get; set; }
        [JsonMapping("player", JsonMapping.MappingType.Primitive)]
        public string Player { get; set; }
    }
}